package request

type CreateVideoReq struct {
	VName    string `json:"v_name" form:"v_name" binding:"required"`     // 视频名称
	VUrl     string `json:"v_url" form:"v_url" binding:"required"`       // 视频路径
	FId      uint64 `json:"f_id" form:"f_id" binding:"required"`         // 创建人Id
	CartOne  uint64 `json:"cart_one" form:"cart_one" binding:"required"` // 一级
	CartTwo  uint64 `json:"cart_two" form:"cart_two" binding:"required"` // 二级
	Image    string `json:"image" form:"image" binding:"required"`       // 封面图片
	Keywords string `json:"keywords" form:"keywords" binding:"required"` // 关键字
	VInfo    string `json:"v_info" form:"v_info" binding:"required"`     // 视频描述
	VType    int64  `json:"v_type" form:"v_type" binding:"required"`     // 范围: 1:全部 2:内部

}
type CastOneVideoReq struct {
	CartOne uint64 `json:"cart_one" form:"cart_one" binding:"required"` // 一级
}
type CastTwoVideoReq struct {
	CartTwo uint64 `json:"cart_two" form:"cart_two" binding:"required"` // 二级
}
type StatusVideoReq struct {
	RStatus int64 `json:"r_status" form:"r_status" binding:"required"`
}
type NameVideoReq struct {
	VName string `json:"v_name" form:"v_name" binding:"required"` // 视频名称
}
type FounderNumVideoReq struct {
	FNumber string `json:"f_number" form:"f_number" binding:"required"` // 创建人工号
}
type UserNumVideoReq struct {
	UNumber string `json:"u_number" form:"u_number" binding:"required"` // 作者编号
}
type ReviewerNumVideoReq struct {
	RNumber string `json:"r_number" form:"r_number" binding:"required"` // 审核人工号
}
type KeywordsVideoReq struct {
	Keywords string `json:"keywords" form:"keywords" binding:"required"` // 关键字
}
type QueryVideoReq struct {
	Id uint64 `json:"id" form:"id" binding:"required"`
}
type DeleteVideoReq struct {
	Id uint64 `json:"id" form:"id" binding:"required"`
}
type UpdatedVideoReq struct {
	Id       uint64 `json:"id" form:"id" binding:"required"`
	VName    string `json:"v_name" form:"v_name" binding:"required"`     // 视频名称
	VUrl     string `json:"v_url" form:"v_url" binding:"required"`       // 视频路径
	CartOne  uint64 `json:"cart_one" form:"cart_one" binding:"required"` // 一级
	CartTwo  uint64 `json:"cart_two" form:"cart_two" binding:"required"` // 二级
	Image    string `json:"image" form:"image" binding:"required"`       // 封面图片
	Keywords string `json:"keywords" form:"keywords" binding:"required"` // 关键字
	VInfo    string `json:"v_info" form:"v_info" binding:"required"`     // 视频描述
	VType    int64  `json:"v_type" form:"v_type" binding:"required"`     // 范围: 1:全部 2:内部
	VStatus  int64  `json:"v_status" form:"v_status" binding:"required"`
}
type UpdateVideoReq struct {
	Id      uint64 `json:"id" form:"id" binding:"required"`
	RStatus uint64 `json:"r_status" form:"r_status" binding:"required"` // 状态: 1:未审核 2:审核中 3:审核通过 4:审核未通过
}
